package BlogMybatis.blog.service.impl;

import BlogMybatis.blog.pojo.Githubuser;
import BlogMybatis.blog.mapper.GithubuserMapper;
import BlogMybatis.blog.service.GithubuserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author Brandt
 * @since 2020-06-16
 */
@Service
public class GithubuserServiceImpl extends ServiceImpl<GithubuserMapper, Githubuser> implements GithubuserService {

    @Autowired
    private GithubuserMapper githubuserMapper;

    @Override
    public int addIpAddress(String nodeId) {
        return githubuserMapper.addIpAddress(nodeId);
    }
}
